home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Web Designer 98 (Professional)
/
WebDesigner 1.0.iso
/
cgi2
/
referer.pl
< prev
next >
Wrap
Perl Script
|
1996-06-03
|
403b
|
16 lines
#!/usr/bin/perl
# Last Page Visited
# Created by Matt Wright
# Created on: 10/15/95 Last Modified on: 10/15/95
# Version 1.0
# Requires Server Side Includes
# One way of doing it:
# <ul>
# <li><!--#exec cgi="http://your.host.xxx/cgi-bin/referer.pl"-->
# </ul>
print "Content-type: text/html\n\n";
print "<a href=\"$ENV{'HTTP_REFERER'}\">";
print "Return to the page you were last at.</a>\n";